import { BaseEntity } from "../../../base/entity/base";
import { Column, Entity } from "typeorm";

@Entity('car_model')
export class CarModelEntity extends BaseEntity {
   
    @Column({ comment: '车型名称' })
    name: string;

    @Column({ comment: '车型封面' })
    cover: string;

    @Column({ comment: '车型描述' })
    description: string;

    @Column({ comment: '座位数' })
    seats: number;

    @Column({ comment: '品牌' })
    brand: string;

}